package com.alog.javaee.day41;

import java.util.List;
import java.util.Map;

/**
 * 用户操作的DAO
 */
public interface UserDao {


    public List<User> findAll();

    public User login(User user);

    void add(User user);

    void delete(Integer valueOf);

    User findById(Integer id);

    void update(User user);

    int findTotalCount(Map<String, String[]> condition);

    List<User> findByPage(int start, int pageSize, Map<String, String[]> condition);
}
